body {
    margin: 0;
    padding: 0;
    background: #1a1a1a;
    font-family: 'Arial', sans-serif;
    overflow: hidden;
}

#gameContainer {
    position: relative;
    width: 100vw;
    height: 100vh;
}

#controls {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 100;
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.control-item {
    display: flex;
    align-items: center;
    margin: 15px 0;
    color: white;
    font-size: 16px;
}

.control-item input[type="checkbox"] {
    margin-right: 12px;
    transform: scale(1.5);
    cursor: pointer;
}

.control-item label {
    cursor: pointer;
    user-select: none;
}

#alarmSound {
    display: none;
}

.alarm-animation {
    animation: pulse 0.5s infinite alternate;
}

.flashlight-animation {
    animation: flashlight-pulse 0.1s infinite alternate;
}

@keyframes pulse {
    from {
        opacity: 0.7;
    }

    to {
        opacity: 1;
    }
}

@keyframes flashlight-pulse {
    from {
        color: #ffffff;
    }

    to {
        color: #ffff99;
    }
}

#instructions {
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    text-align: right;
}